package com.yuntai.pms.model.enums.common;

public enum AreaLevel {

    PROVINCE(1l, "省"),
    CITY(2l, "市"),
    AREA(3l, "区");

    private Long code;
    private String name;

    private AreaLevel(Long code, String name) {
        this.code = code;
        this.name = name;
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
